<?php
namespace Admin\Controller;

class GroupController extends \Common\Controller\CommonController {
    function _initialize() {
        parent::_initialize();

        if (CONTROLLER_NAME != 'Auth') {
            if (empty($_SESSION['admin'])) {
                $this->redirect('Admin/Auth/login');
            }
        }
    }
}